package com.xinhe.cn.cpbox.service;

import com.xinhe.cn.cpbox.entity.dto.QrCodeDto;
import com.xinhe.cn.cpbox.entity.po.ScripGet;
import com.xinhe.cn.cpbox.entity.po.ScripSend;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author HB
 * @date 2021/10/09 15:53
 */
public interface ScripService {
    Object uploadImage(MultipartFile file);

    Object checkImg(MultipartFile file) throws Exception;

    Object checkMsg(String content);

    Object deleteScrip(ScripSend scripSend);

    Object findCanFreeSend(String type, String getUserId);

    Object sendScrip(ScripSend scripSend);

    Object findCanGetScrip(String type, String getUserId);

    Object getRandomScrip(String type, String getUserId);

    Object getMyScripSend(String sendId, int page, int size);

    Object getMyScripGet(String getUserId, int page, int size);
}
